package com.choose.seat;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/***
 * @ClassName: ${NAME}
 * @Description: ${DESCRIPTION}
 * @Auther: admin
 * @Date: 17:09 2023/10/24
 * @version : V1.0
 */
@EnableAutoConfiguration(exclude = {
        org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class
})
@EnableTransactionManagement
@ServletComponentScan
@MapperScan("com.choose.**.dao")
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableCaching
public class CinemaChooseSeatApplication {
    public static void main(String[] args) {
        SpringApplication.run(CinemaChooseSeatApplication.class, args);
        System.out.println(" .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  .----------------. \n" +
                "| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |\n" +
                "| |    _______   | || | _____  _____ | || |     ______   | || |     ______   | || |  _________   | || |    _______   | || |    _______   | |\n" +
                "| |   /  ___  |  | || ||_   _||_   _|| || |   .' ___  |  | || |   .' ___  |  | || | |_   ___  |  | || |   /  ___  |  | || |   /  ___  |  | |\n" +
                "| |  |  (__ \\_|  | || |  | |    | |  | || |  / .'   \\_|  | || |  / .'   \\_|  | || |   | |_  \\_|  | || |  |  (__ \\_|  | || |  |  (__ \\_|  | |\n" +
                "| |   '.___`-.   | || |  | '    ' |  | || |  | |         | || |  | |         | || |   |  _|  _   | || |   '.___`-.   | || |   '.___`-.   | |\n" +
                "| |  |`\\____) |  | || |   \\ `--' /   | || |  \\ `.___.'\\  | || |  \\ `.___.'\\  | || |  _| |___/ |  | || |  |`\\____) |  | || |  |`\\____) |  | |\n" +
                "| |  |_______.'  | || |    `.__.'    | || |   `._____.'  | || |   `._____.'  | || | |_________|  | || |  |_______.'  | || |  |_______.'  | |\n" +
                "| |              | || |              | || |              | || |              | || |              | || |              | || |              | |\n" +
                "| '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' |\n" +
                " '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------' \n");
    }
}
